package com.asktgapp.model;

import java.util.ArrayList;
import java.util.List;

public class HomeServiceDetailVO {


    /**
     * ServerProject : []
     * serviceDetail : {"service_id":2,"service_other_infor":"大家都是这样的大概呵呵谷歌锅","userPic":"http://140.143.129.120:8080/jiangong/downloadFile.do?id=79becbb9-7d7e-41e4-bcc0-618d961a9a78","service_status":0,"cityName":"沈阳市","service_type":2,"service_brand_id":25,"service_provinc":210000,"service_user_id":21365,"proviceName":"辽宁省","service_type_id":13,"service_time":"2018-08-18","service_city":210100,"service_add_time":"2018.08.09 10:27:41","service_model":"60","service_user_tel":"15566057281","service_info":"莫名其妙的熄火，车没有劲","userName":"我是工程师","service_user_name":"雄鹰王","service_state":0}
     */

    private ServiceDetailBean serviceDetail;
    private List<ServerProjectBean> ServerProject;

    public ServiceDetailBean getServiceDetail() {
        return serviceDetail;
    }

    public void setServiceDetail(ServiceDetailBean serviceDetail) {
        this.serviceDetail = serviceDetail;
    }

    public List<ServerProjectBean> getServerProject() {
        if (ServerProject == null) {
            return new ArrayList<>();
        }
        return ServerProject;
    }

    public void setServerProject(List<ServerProjectBean> serverProject) {
        ServerProject = serverProject;
    }

    public static class ServiceDetailBean {
        /**
         * service_id : 2
         * service_other_infor : 大家都是这样的大概呵呵谷歌锅
         * userPic : http://140.143.129.120:8080/jiangong/downloadFile.do?id=79becbb9-7d7e-41e4-bcc0-618d961a9a78
         * service_status : 0
         * cityName : 沈阳市
         * service_type : 2
         * service_brand_id : 25
         * service_provinc : 210000
         * service_user_id : 21365
         * proviceName : 辽宁省
         * service_type_id : 13
         * service_time : 2018-08-18
         * service_city : 210100
         * service_add_time : 2018.08.09 10:27:41
         * service_model : 60
         * service_user_tel : 15566057281
         * service_info : 莫名其妙的熄火，车没有劲
         * userName : 我是工程师
         * service_user_name : 雄鹰王
         * service_state : 0
         */

        private String service_id;
        private String service_other_infor;
        private String userPic;
        private String service_status;
        private String cityName;
        private String service_type;
        private String service_brand_id;
        private String service_provinc;
        private String service_user_id;
        private String proviceName;
        private String service_type_id;
        private String service_time;
        private String service_city;
        private String service_add_time;
        private String service_model;
        private String service_user_tel;
        private String service_info;
        private String userName;
        private String service_user_name;
        private String service_state;
        private String brandName;
        private String typeName;

        private String service_address;

        public String getService_address() {
            return service_address == null ? "" : service_address;
        }

        public void setService_address(String service_address) {
            this.service_address = service_address;
        }

        public String getBrandName() {
            return brandName == null ? "" : brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public String getTypeName() {
            return typeName == null ? "" : typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public String getService_id() {
            return service_id == null ? "" : service_id;
        }

        public void setService_id(String service_id) {
            this.service_id = service_id;
        }

        public String getService_other_infor() {
            return service_other_infor == null ? "" : service_other_infor;
        }

        public void setService_other_infor(String service_other_infor) {
            this.service_other_infor = service_other_infor;
        }

        public String getUserPic() {
            return userPic == null ? "" : userPic;
        }

        public void setUserPic(String userPic) {
            this.userPic = userPic;
        }

        public String getService_status() {
            return service_status == null ? "" : service_status;
        }

        public void setService_status(String service_status) {
            this.service_status = service_status;
        }

        public String getCityName() {
            return cityName == null ? "" : cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public String getService_type() {
            return service_type == null ? "" : service_type;
        }

        public void setService_type(String service_type) {
            this.service_type = service_type;
        }

        public String getService_brand_id() {
            return service_brand_id == null ? "" : service_brand_id;
        }

        public void setService_brand_id(String service_brand_id) {
            this.service_brand_id = service_brand_id;
        }

        public String getService_provinc() {
            return service_provinc == null ? "" : service_provinc;
        }

        public void setService_provinc(String service_provinc) {
            this.service_provinc = service_provinc;
        }

        public String getService_user_id() {
            return service_user_id == null ? "" : service_user_id;
        }

        public void setService_user_id(String service_user_id) {
            this.service_user_id = service_user_id;
        }

        public String getProviceName() {
            return proviceName == null ? "" : proviceName;
        }

        public void setProviceName(String proviceName) {
            this.proviceName = proviceName;
        }

        public String getService_type_id() {
            return service_type_id == null ? "" : service_type_id;
        }

        public void setService_type_id(String service_type_id) {
            this.service_type_id = service_type_id;
        }

        public String getService_time() {
            return service_time == null ? "" : service_time;
        }

        public void setService_time(String service_time) {
            this.service_time = service_time;
        }

        public String getService_city() {
            return service_city == null ? "" : service_city;
        }

        public void setService_city(String service_city) {
            this.service_city = service_city;
        }

        public String getService_add_time() {
            return service_add_time == null ? "" : service_add_time;
        }

        public void setService_add_time(String service_add_time) {
            this.service_add_time = service_add_time;
        }

        public String getService_model() {
            return service_model == null ? "" : service_model;
        }

        public void setService_model(String service_model) {
            this.service_model = service_model;
        }

        public String getService_user_tel() {
            return service_user_tel == null ? "" : service_user_tel;
        }

        public void setService_user_tel(String service_user_tel) {
            this.service_user_tel = service_user_tel;
        }

        public String getService_info() {
            return service_info == null ? "" : service_info;
        }

        public void setService_info(String service_info) {
            this.service_info = service_info;
        }

        public String getUserName() {
            return userName == null ? "" : userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getService_user_name() {
            return service_user_name == null ? "" : service_user_name;
        }

        public void setService_user_name(String service_user_name) {
            this.service_user_name = service_user_name;
        }

        public String getService_state() {
            return service_state == null ? "" : service_state;
        }

        public void setService_state(String service_state) {
            this.service_state = service_state;
        }
    }

    public static class ServerProjectBean {
        /**
         * time : 2018.08.09 16:04:03
         * price : 0.0
         * userPic : http://140.143.129.120:8080/jiangong/downloadFile.do?id=79becbb9-7d7e-41e4-bcc0-618d961a9a78
         * userName : 我是工程师
         * isShow : 1
         */

        private String time;
        private String price;
        private String userPic;
        private String userName;
        private int isShow;
        private String serverRange;
        private String serverId;
        private String projectorId;
        private String payState;//1待报价2待支付3已完成

        /**
         *
         * @return 1待报价 2待支付  3已完成
         */
        public String getPayState() {
            return payState == null ? "" : payState;
        }

        public void setPayState(String payState) {
            this.payState = payState;
        }

        public String getProjectorId() {
            return projectorId == null ? "" : projectorId;
        }

        public void setProjectorId(String projectorId) {
            this.projectorId = projectorId;
        }

        public String getServerId() {
            return serverId == null ? "" : serverId;
        }

        public void setServerId(String serverId) {
            this.serverId = serverId;
        }

        public String getServerRange() {
            return serverRange == null ? "" : serverRange;
        }

        public void setServerRange(String serverRange) {
            this.serverRange = serverRange;
        }

        public String getTime() {
            return time == null ? "" : time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getPrice() {
            return price == null ? "0" : price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getUserPic() {
            return userPic == null ? "" : userPic;
        }

        public void setUserPic(String userPic) {
            this.userPic = userPic;
        }

        public String getUserName() {
            return userName == null ? "" : userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getIsShow() {
            return isShow;
        }

        public void setIsShow(int isShow) {
            this.isShow = isShow;
        }
    }
}
